<?php 
	if($this->is('page', ___NEWS___)){
		header("location: ". Typecho_Common::url('category/'.___NEWS___, $this->options->index) );
		eixt();
	}
	if($this->is('page', ___PROD___)){
		header("location: ". Typecho_Common::url('category/'.___PROD___, $this->options->index));
		eixt();
	}
	if($this->is('page', 'index')){
		header("location: ". Typecho_Common::url($this->options->index));
		eixt();
	}
?>
<?php $this->need('header.php'); ?>

<div class="content">
	<div class="page">
		<h2 class="page_title"><?php $this->title(); ?></h2>

		<div class="page_content"><?php $this->content(); ?></div>
		<div class="post_relate">
			<?php $this->thePrev('<span class="post_prev">上一篇：%s</span>'); ?>
			<?php $this->theNext('<span class="post_next">下一篇：%s</span>'); ?>
			<div class="clear"></div>
		</div>
	</div>
</div>

<?php $this->need('footer.php'); ?>